Optimal. Leaf size=122 \[ \frac {3}{16} \left (109+18 x^2\right ) \sqrt {3+5 x^2+x^4}-\frac {\left (2-x^2\right ) \left (3+5 x^2+x^4\right )^{3/2}}{2 x^2}+\frac {609}{32} \tanh ^{-1}\left (\frac {5+2 x^2}{2 \sqrt {3+5 x^2+x^4}}\right )-12 \sqrt {3} \tanh ^{-1}\left (\frac {6+5 x^2}{2 \sqrt {3} \sqrt {3+5 x^2+x^4}}\right ) \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.07, antiderivative size = 122, normalized size of antiderivative = 1.00, number of steps
used = 8, number of rules used = 7, integrand size = 25, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.280, Rules used = {1265, 826, 828,
857, 635, 212, 738} \begin {gather*} -\frac {\left (2-x^2\right ) \left (x^4+5 x^2+3\right )^{3/2}}{2 x^2}+\frac {3}{16} \left (18 x^2+109\right ) \sqrt {x^4+5 x^2+3}+\frac {609}{32} \tanh ^{-1}\left (\frac {2 x^2+5}{2 \sqrt {x^4+5 x^2+3}}\right )-12 \sqrt {3} \tanh ^{-1}\left (\frac {5 x^2+6}{2 \sqrt {3} \sqrt {x^4+5 x^2+3}}\right ) \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 212
Rule 635
Rule 738
Rule 826
Rule 828
Rule 857
Rule 1265
Rubi steps
\begin {align*} \int \frac {\left (2+3 x^2\right ) \left (3+5 x^2+x^4\right )^{3/2}}{x^3} \, dx &=\frac {1}{2} \text {Subst}\left (\int \frac {(2+3 x) \left (3+5 x+x^2\right )^{3/2}}{x^2} \, dx,x,x^2\right )\\ &=-\frac {\left (2-x^2\right ) \left (3+5 x^2+x^4\right )^{3/2}}{2 x^2}-\frac {1}{4} \text {Subst}\left (\int \frac {(-48-27 x) \sqrt {3+5 x+x^2}}{x} \, dx,x,x^2\right )\\ &=\frac {3}{16} \left (109+18 x^2\right ) \sqrt {3+5 x^2+x^4}-\frac {\left (2-x^2\right ) \left (3+5 x^2+x^4\right )^{3/2}}{2 x^2}+\frac {1}{16} \text {Subst}\left (\int \frac {576+\frac {609 x}{2}}{x \sqrt {3+5 x+x^2}} \, dx,x,x^2\right )\\ &=\frac {3}{16} \left (109+18 x^2\right ) \sqrt {3+5 x^2+x^4}-\frac {\left (2-x^2\right ) \left (3+5 x^2+x^4\right )^{3/2}}{2 x^2}+\frac {609}{32} \text {Subst}\left (\int \frac {1}{\sqrt {3+5 x+x^2}} \, dx,x,x^2\right )+36 \text {Subst}\left (\int \frac {1}{x \sqrt {3+5 x+x^2}} \, dx,x,x^2\right )\\ &=\frac {3}{16} \left (109+18 x^2\right ) \sqrt {3+5 x^2+x^4}-\frac {\left (2-x^2\right ) \left (3+5 x^2+x^4\right )^{3/2}}{2 x^2}+\frac {609}{16} \text {Subst}\left (\int \frac {1}{4-x^2} \, dx,x,\frac {5+2 x^2}{\sqrt {3+5 x^2+x^4}}\right )-72 \text {Subst}\left (\int \frac {1}{12-x^2} \, dx,x,\frac {6+5 x^2}{\sqrt {3+5 x^2+x^4}}\right )\\ &=\frac {3}{16} \left (109+18 x^2\right ) \sqrt {3+5 x^2+x^4}-\frac {\left (2-x^2\right ) \left (3+5 x^2+x^4\right )^{3/2}}{2 x^2}+\frac {609}{32} \tanh ^{-1}\left (\frac {5+2 x^2}{2 \sqrt {3+5 x^2+x^4}}\right )-12 \sqrt {3} \tanh ^{-1}\left (\frac {6+5 x^2}{2 \sqrt {3} \sqrt {3+5 x^2+x^4}}\right )\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.23, size = 102, normalized size = 0.84 \begin {gather*} 24 \sqrt {3} \tanh ^{-1}\left (\frac {x^2-\sqrt {3+5 x^2+x^4}}{\sqrt {3}}\right )+\frac {1}{32} \left (\frac {2 \sqrt {3+5 x^2+x^4} \left (-48+271 x^2+78 x^4+8 x^6\right )}{x^2}-609 \log \left (-5-2 x^2+2 \sqrt {3+5 x^2+x^4}\right )\right ) \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A]
time = 0.29, size = 117, normalized size = 0.96
method | result | size |
trager | \(\frac {\left (8 x^{6}+78 x^{4}+271 x^{2}-48\right ) \sqrt {x^{4}+5 x^{2}+3}}{16 x^{2}}-\frac {609 \ln \left (2 x^{2}-2 \sqrt {x^{4}+5 x^{2}+3}+5\right )}{32}-12 \RootOf \left (\textit {\_Z}^{2}-3\right ) \ln \left (-\frac {5 \RootOf \left (\textit {\_Z}^{2}-3\right ) x^{2}+6 \RootOf \left (\textit {\_Z}^{2}-3\right )+6 \sqrt {x^{4}+5 x^{2}+3}}{x^{2}}\right )\) | \(108\) |
default | \(\frac {39 x^{2} \sqrt {x^{4}+5 x^{2}+3}}{8}+\frac {271 \sqrt {x^{4}+5 x^{2}+3}}{16}+\frac {609 \ln \left (x^{2}+\frac {5}{2}+\sqrt {x^{4}+5 x^{2}+3}\right )}{32}-\frac {3 \sqrt {x^{4}+5 x^{2}+3}}{x^{2}}-12 \arctanh \left (\frac {\left (5 x^{2}+6\right ) \sqrt {3}}{6 \sqrt {x^{4}+5 x^{2}+3}}\right ) \sqrt {3}+\frac {x^{4} \sqrt {x^{4}+5 x^{2}+3}}{2}\) | \(117\) |
risch | \(\frac {39 x^{2} \sqrt {x^{4}+5 x^{2}+3}}{8}+\frac {271 \sqrt {x^{4}+5 x^{2}+3}}{16}+\frac {609 \ln \left (x^{2}+\frac {5}{2}+\sqrt {x^{4}+5 x^{2}+3}\right )}{32}-\frac {3 \sqrt {x^{4}+5 x^{2}+3}}{x^{2}}-12 \arctanh \left (\frac {\left (5 x^{2}+6\right ) \sqrt {3}}{6 \sqrt {x^{4}+5 x^{2}+3}}\right ) \sqrt {3}+\frac {x^{4} \sqrt {x^{4}+5 x^{2}+3}}{2}\) | \(117\) |
elliptic | \(\frac {39 x^{2} \sqrt {x^{4}+5 x^{2}+3}}{8}+\frac {271 \sqrt {x^{4}+5 x^{2}+3}}{16}+\frac {609 \ln \left (x^{2}+\frac {5}{2}+\sqrt {x^{4}+5 x^{2}+3}\right )}{32}-\frac {3 \sqrt {x^{4}+5 x^{2}+3}}{x^{2}}-12 \arctanh \left (\frac {\left (5 x^{2}+6\right ) \sqrt {3}}{6 \sqrt {x^{4}+5 x^{2}+3}}\right ) \sqrt {3}+\frac {x^{4} \sqrt {x^{4}+5 x^{2}+3}}{2}\) | \(117\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A]
time = 0.51, size = 120, normalized size = 0.98 \begin {gather*} \frac {27}{8} \, \sqrt {x^{4} + 5 \, x^{2} + 3} x^{2} + \frac {1}{2} \, {\left (x^{4} + 5 \, x^{2} + 3\right )}^{\frac {3}{2}} - 12 \, \sqrt {3} \log \left (\frac {2 \, \sqrt {3} \sqrt {x^{4} + 5 \, x^{2} + 3}}{x^{2}} + \frac {6}{x^{2}} + 5\right ) + \frac {327}{16} \, \sqrt {x^{4} + 5 \, x^{2} + 3} - \frac {{\left (x^{4} + 5 \, x^{2} + 3\right )}^{\frac {3}{2}}}{x^{2}} + \frac {609}{32} \, \log \left (2 \, x^{2} + 2 \, \sqrt {x^{4} + 5 \, x^{2} + 3} + 5\right ) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A]
time = 0.40, size = 122, normalized size = 1.00 \begin {gather*} \frac {1536 \, \sqrt {3} x^{2} \log \left (\frac {25 \, x^{2} - 2 \, \sqrt {3} {\left (5 \, x^{2} + 6\right )} - 2 \, \sqrt {x^{4} + 5 \, x^{2} + 3} {\left (5 \, \sqrt {3} - 6\right )} + 30}{x^{2}}\right ) - 2436 \, x^{2} \log \left (-2 \, x^{2} + 2 \, \sqrt {x^{4} + 5 \, x^{2} + 3} - 5\right ) + 1541 \, x^{2} + 8 \, {\left (8 \, x^{6} + 78 \, x^{4} + 271 \, x^{2} - 48\right )} \sqrt {x^{4} + 5 \, x^{2} + 3}}{128 \, x^{2}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \int \frac {\left (3 x^{2} + 2\right ) \left (x^{4} + 5 x^{2} + 3\right )^{\frac {3}{2}}}{x^{3}}\, dx \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A]
time = 5.22, size = 153, normalized size = 1.25 \begin {gather*} \frac {1}{16} \, \sqrt {x^{4} + 5 \, x^{2} + 3} {\left (2 \, {\left (4 \, x^{2} + 39\right )} x^{2} + 271\right )} + 12 \, \sqrt {3} \log \left (\frac {x^{2} + \sqrt {3} - \sqrt {x^{4} + 5 \, x^{2} + 3}}{x^{2} - \sqrt {3} - \sqrt {x^{4} + 5 \, x^{2} + 3}}\right ) + \frac {3 \, {\left (5 \, x^{2} - 5 \, \sqrt {x^{4} + 5 \, x^{2} + 3} + 6\right )}}{{\left (x^{2} - \sqrt {x^{4} + 5 \, x^{2} + 3}\right )}^{2} - 3} - \frac {609}{32} \, \log \left (2 \, x^{2} - 2 \, \sqrt {x^{4} + 5 \, x^{2} + 3} + 5\right ) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [F]
time = 0.00, size = -1, normalized size = -0.01 \begin {gather*} \int \frac {\left (3\,x^2+2\right )\,{\left (x^4+5\,x^2+3\right )}^{3/2}}{x^3} \,d x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________